# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'C:\python\src\ui\Main.ui'
# this is the layout of main window, it includes title, menu, toolbar, work area and status bar
#
# Created: Thu Apr 21 12:50:32 2011      
#  
#  date             author          issues
#  2011-Apr-11   Wan            creator
#  2011-Apr-29  Wan             fixed resize window, but controller doesn't resize
#
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(760, 610)
        
        self.centralWidget = QtGui.QWidget(MainWindow)
        self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
        
        ## create a main splitter, @wan
        self.mainSplitter = QtGui.QSplitter(self.centralWidget)
        self.mainSplitter.setGeometry(QtCore.QRect(0, 0, 750, 560))
        self.mainSplitter.setOrientation(QtCore.Qt.Horizontal)
        self.mainSplitter.setObjectName(_fromUtf8("mainSplitter"))
        
        ## create a left splitter, @wan
        self.leftSplitter = QtGui.QSplitter(self.mainSplitter)
        self.leftSplitter.setGeometry(QtCore.QRect(0, 0, 350, 560))
        self.leftSplitter.setOrientation(QtCore.Qt.Vertical)
        self.leftSplitter.setObjectName(_fromUtf8("leftSplitter"))
        
        ## create a right splitter, @wan
        self.rightSplitter = QtGui.QSplitter(self.mainSplitter)
        self.rightSplitter.setGeometry(QtCore.QRect(0, 360, 750, 560))
        self.rightSplitter.setOrientation(QtCore.Qt.Vertical)
        self.rightSplitter.setObjectName(_fromUtf8("rightSplitter"))  
        
        ## sub set of leftSplitter        
        self.tabMainAutomated = QtGui.QTabWidget(self.leftSplitter)
        self.tabMainAutomated.setGeometry(QtCore.QRect(0, 10, 201, 251))
        self.tabMainAutomated.setMinimumSize(QtCore.QSize(50, 50))
        self.tabMainAutomated.setBaseSize(QtCore.QSize(50, 50))
        self.tabMainAutomated.setObjectName(_fromUtf8("tabMainAutomated"))
        
        self.tabAutomated = QtGui.QWidget()
        self.tabAutomated.setObjectName(_fromUtf8("tabAutomated"))
        ## important to create a horizontal layout for embedded widget, @wan
        self.hAutomatedLayout = QtGui.QHBoxLayout(self.tabAutomated)
        self.hAutomatedLayout.setObjectName(_fromUtf8("hAutomatedLayout"))
        
        self.treeAutomated = QtGui.QTreeWidget(self.tabAutomated)
        self.treeAutomated.setGeometry(QtCore.QRect(0, 0, 191, 221))
        self.treeAutomated.setObjectName(_fromUtf8("treeAutomated"))
        self.treeAutomated.headerItem().setText(0, _fromUtf8("1"))
        ## now add this tree widget to this layout, @wan
        self.hAutomatedLayout.addWidget(self.treeAutomated)
        self.tabMainAutomated.addTab(self.tabAutomated, _fromUtf8(""))
        
        self.tabInteractive = QtGui.QWidget()
        self.tabInteractive.setObjectName(_fromUtf8("tabInteractive"))
        ## important to create a horizontal layout for embedded widget, @wan
        self.hInteractiveLayout = QtGui.QHBoxLayout(self.tabInteractive)
        self.hInteractiveLayout.setObjectName(_fromUtf8("hInteractiveLayout"))

        self.treeInteractive = QtGui.QTreeWidget(self.tabInteractive)
        self.treeInteractive.setGeometry(QtCore.QRect(0, 0, 191, 221))
        self.treeInteractive.setObjectName(_fromUtf8("treeInteractive"))
        self.treeInteractive.headerItem().setText(0, _fromUtf8("1"))
        ## now add this tree widget to this layout @wan
        self.hInteractiveLayout.addWidget(self.treeInteractive)
        self.tabMainAutomated.addTab(self.tabInteractive, _fromUtf8(""))
        
        ## 
        self.tabMainProperties = QtGui.QTabWidget(self.leftSplitter)
        self.tabMainProperties.setGeometry(QtCore.QRect(0, 270, 201, 271))
        self.tabMainProperties.setMinimumSize(QtCore.QSize(50, 50))
        self.tabMainProperties.setBaseSize(QtCore.QSize(50, 50))
        self.tabMainProperties.setObjectName(_fromUtf8("tabMainProperties"))
        
        self.tabProperties = QtGui.QWidget()
        self.tabProperties.setObjectName(_fromUtf8("tabProperties"))
        ## important to create a horizontal layout for embedded widget, @wan
        self.hPropertiesLayout = QtGui.QHBoxLayout(self.tabProperties)
        self.hPropertiesLayout.setObjectName(_fromUtf8("hPropertiesLayout"))

        self.tblProperties = QtGui.QTableWidget(self.tabProperties)
        self.tblProperties.setGeometry(QtCore.QRect(0, 0, 191, 241))
        self.tblProperties.setColumnCount(2)
        self.tblProperties.setObjectName(_fromUtf8("tblProperties"))
        ## now add this table widget to this layout @wan
        self.hPropertiesLayout.addWidget(self.tblProperties)
        
        self.tblProperties.setColumnCount(1)
        self.tblProperties.setRowCount(5)

        for count in range(self.tblProperties.rowCount()):
            item = QtGui.QTableWidgetItem()
            self.tblProperties.setVerticalHeaderItem(count, item)
                   
        item = QtGui.QTableWidgetItem()
        self.tblProperties.setHorizontalHeaderItem(0, item)
        self.tabMainProperties.addTab(self.tabProperties, _fromUtf8(""))
        
        ## global options tab
        self.tabGlobalOptions = QtGui.QWidget()
        self.tabGlobalOptions.setObjectName(_fromUtf8("tabGlobalOptions"))
        ## important to create a horizontal layout for embedded widget, @wan
        self.hGlobalOptionsLayout = QtGui.QHBoxLayout(self.tabGlobalOptions)
        self.hGlobalOptionsLayout.setObjectName(_fromUtf8("hGlobalOptionsLayout"))
        
        self.tblGlobalOptions = QtGui.QTableWidget(self.tabGlobalOptions)
        self.tblGlobalOptions.setGeometry(QtCore.QRect(0, 0, 191, 241))
        self.tblGlobalOptions.setObjectName(_fromUtf8("tblGlobalOptions"))
        ## now add this table widget to this layout @wan
        self.hGlobalOptionsLayout.addWidget(self.tblGlobalOptions)        
        self.tblGlobalOptions.setColumnCount(1)
        self.tblGlobalOptions.setRowCount(20)
        for count in range(self.tblGlobalOptions.rowCount()):
            item = QtGui.QTableWidgetItem()
            self.tblGlobalOptions.setVerticalHeaderItem(count, item)
            
        item = QtGui.QTableWidgetItem()
        self.tblGlobalOptions.setHorizontalHeaderItem(0, item)
        self.tabMainProperties.addTab(self.tabGlobalOptions, _fromUtf8(""))
        
        ##rightSplitter
        self.textMainBrowser = QtGui.QTextBrowser(self.rightSplitter)
        self.textMainBrowser.setGeometry(QtCore.QRect(200, 10, 540, 310))
        self.textMainBrowser.setMinimumSize(QtCore.QSize(0, 50))
        self.textMainBrowser.setBaseSize(QtCore.QSize(0, 50))
        self.textMainBrowser.setObjectName(_fromUtf8("textMainBrowser"))
        
        ## rightSplitter runtime information
        self.tabMainRuntime = QtGui.QTabWidget(self.rightSplitter)
        self.tabMainRuntime.setGeometry(QtCore.QRect(200, 330, 541, 211))
        self.tabMainRuntime.setMinimumSize(QtCore.QSize(50, 50))
        self.tabMainRuntime.setBaseSize(QtCore.QSize(50, 50))
        self.tabMainRuntime.setObjectName(_fromUtf8("tabMainRuntime"))
        
        self.tabRuntime = QtGui.QWidget()
        self.tabRuntime.setObjectName(_fromUtf8("tabRuntime"))
        ## important to create a horizontal layout for embedded widget, @wan
        self.hRuntimeLayout = QtGui.QHBoxLayout(self.tabRuntime)
        self.hRuntimeLayout.setObjectName(_fromUtf8("hRuntimeLayout"))
        
        self.tblRuntime = QtGui.QTableWidget(self.tabRuntime)
        self.tblRuntime.setGeometry(QtCore.QRect(0, 0, 531, 181))
        self.tblRuntime.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.tblRuntime.setColumnCount(5)
        self.tblRuntime.setObjectName(_fromUtf8("tblRuntime"))
        ## now add this table widget to this layout @wan
        self.hRuntimeLayout.addWidget(self.tblRuntime)                
        self.tblRuntime.setColumnCount(5)
        self.tblRuntime.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        self.tblRuntime.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.tblRuntime.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.tblRuntime.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.tblRuntime.setHorizontalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        self.tblRuntime.setHorizontalHeaderItem(4, item)
        self.tabMainRuntime.addTab(self.tabRuntime, _fromUtf8(""))
        
        
        self.tabPCIDevices = QtGui.QWidget()
        self.tabPCIDevices.setObjectName(_fromUtf8("tabPCIDevices"))
        ## important to create a horizontal layout for embedded widget, @wan
        self.hPCIDevicesLayout = QtGui.QHBoxLayout(self.tabPCIDevices)
        self.hPCIDevicesLayout.setObjectName(_fromUtf8("hPCIDevicesLayout"))
        
        self.treePCIDevices = QtGui.QTreeWidget(self.tabPCIDevices)
        self.treePCIDevices.setGeometry(QtCore.QRect(0, 0, 201, 181))
        self.treePCIDevices.setObjectName(_fromUtf8("treePCIDevices"))
        ## now add this tree widget to this layout @wan
        self.hPCIDevicesLayout.addWidget(self.treePCIDevices)                        
        self.treePCIDevices.headerItem().setText(0, _fromUtf8("1"))
        
        self.listPCIDevices = QtGui.QListWidget(self.tabPCIDevices)
        self.listPCIDevices.setGeometry(QtCore.QRect(210, 0, 321, 181))
        self.listPCIDevices.setObjectName(_fromUtf8("listPCIDevices"))
        ## now add this list widget to this layout @wan
        self.hPCIDevicesLayout.addWidget(self.listPCIDevices)                        
        self.tabMainRuntime.addTab(self.tabPCIDevices, _fromUtf8(""))
                
        self.tabServer = QtGui.QWidget()
        self.tabServer.setObjectName(_fromUtf8("tabServer"))
        ## important to create a horizontal layout for embedded widget, @wan
        self.hServerLayout = QtGui.QHBoxLayout(self.tabServer)
        self.hServerLayout.setObjectName(_fromUtf8("hServerLayout"))

        self.textServerBrowser = QtGui.QTextBrowser(self.tabServer)
        self.textServerBrowser.setGeometry(QtCore.QRect(0, 0, 531, 181))
        self.textServerBrowser.setObjectName(_fromUtf8("textServerBrowser"))
        ## now add this list widget to this layout @wan
        self.hServerLayout.addWidget(self.textServerBrowser)                        
        self.tabMainRuntime.addTab(self.tabServer, _fromUtf8(""))
        
        MainWindow.setCentralWidget(self.centralWidget)
        
        ## system menu 
        self.menuMainBar = QtGui.QMenuBar(MainWindow)
        self.menuMainBar.setGeometry(QtCore.QRect(0, 0, 752, 21))
        self.menuMainBar.setObjectName(_fromUtf8("menuMainBar"))
        self.menuFile = QtGui.QMenu(self.menuMainBar)
        self.menuFile.setObjectName(_fromUtf8("menuFile"))
        self.menuEdit = QtGui.QMenu(self.menuMainBar)
        self.menuEdit.setObjectName(_fromUtf8("menuEdit"))
        self.menuView = QtGui.QMenu(self.menuMainBar)
        self.menuView.setObjectName(_fromUtf8("menuView"))
        self.menuTest_Manager = QtGui.QMenu(self.menuMainBar)
        self.menuTest_Manager.setObjectName(_fromUtf8("menuTest_Manager"))
        self.menuTools = QtGui.QMenu(self.menuMainBar)
        self.menuTools.setObjectName(_fromUtf8("menuTools"))
        self.menuHelp = QtGui.QMenu(self.menuMainBar)
        self.menuHelp.setObjectName(_fromUtf8("menuHelp"))
        MainWindow.setMenuBar(self.menuMainBar)
        
        ## status bar
        self.statusMainBar = QtGui.QStatusBar(MainWindow)
        self.statusMainBar.setObjectName(_fromUtf8("statusMainBar"))
        MainWindow.setStatusBar(self.statusMainBar)
        
        ## tool bar
        self.toolMainBar = QtGui.QToolBar(MainWindow)
        self.toolMainBar.setObjectName(_fromUtf8("toolMainBar"))
        MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolMainBar)
        
        
        self.actionNew = QtGui.QAction(MainWindow)
        self.actionNew.setObjectName(_fromUtf8("actionNew"))
        
        self.actionOpen = QtGui.QAction(MainWindow)
        self.actionOpen.setObjectName(_fromUtf8("actionOpen"))
        
        self.actionSave = QtGui.QAction(MainWindow)
        self.actionSave.setObjectName(_fromUtf8("actionSave"))
        
        self.actionSave_As = QtGui.QAction(MainWindow)
        self.actionSave_As.setObjectName(_fromUtf8("actionSave_As"))
        
        self.actionPrint = QtGui.QAction(MainWindow)
        self.actionPrint.setObjectName(_fromUtf8("actionPrint"))
        
        self.actionPrint_Preview = QtGui.QAction(MainWindow)
        self.actionPrint_Preview.setObjectName(_fromUtf8("actionPrint_Preview"))
        
        self.actionPrint_Setup = QtGui.QAction(MainWindow)
        self.actionPrint_Setup.setObjectName(_fromUtf8("actionPrint_Setup"))
        
        self.actionExit = QtGui.QAction(MainWindow)
        self.actionExit.setObjectName(_fromUtf8("actionExit"))
        
        self.actionCut = QtGui.QAction(MainWindow)
        self.actionCut.setObjectName(_fromUtf8("actionCut"))
        
        self.actionCopy = QtGui.QAction(MainWindow)
        self.actionCopy.setObjectName(_fromUtf8("actionCopy"))
        
        self.actionPaste = QtGui.QAction(MainWindow)
        self.actionPaste.setObjectName(_fromUtf8("actionPaste"))
        
        self.actionRename = QtGui.QAction(MainWindow)
        self.actionRename.setObjectName(_fromUtf8("actionRename"))
        
        self.actionToolbar = QtGui.QAction(MainWindow)
        self.actionToolbar.setObjectName(_fromUtf8("actionToolbar"))
        
        self.actionStatus_Bar = QtGui.QAction(MainWindow)
        self.actionStatus_Bar.setObjectName(_fromUtf8("actionStatus_Bar"))
        
        self.actionTest_Manager_Bar = QtGui.QAction(MainWindow)
        self.actionTest_Manager_Bar.setObjectName(_fromUtf8("actionTest_Manager_Bar"))
        
        self.actionOptions_Bar = QtGui.QAction(MainWindow)
        self.actionOptions_Bar.setObjectName(_fromUtf8("actionOptions_Bar"))
        
        self.actionGlobal_Information_Bar = QtGui.QAction(MainWindow)
        self.actionGlobal_Information_Bar.setObjectName(_fromUtf8("actionGlobal_Information_Bar"))
        
        self.actionTest_Plan_Info = QtGui.QAction(MainWindow)
        self.actionTest_Plan_Info.setObjectName(_fromUtf8("actionTest_Plan_Info"))
        
        self.actionRun = QtGui.QAction(MainWindow)
        self.actionRun.setObjectName(_fromUtf8("actionRun"))
        
        self.actionStop = QtGui.QAction(MainWindow)
        self.actionStop.setObjectName(_fromUtf8("actionStop"))
        
        self.actionPause = QtGui.QAction(MainWindow)
        self.actionPause.setObjectName(_fromUtf8("actionPause"))
        
        self.actionStep = QtGui.QAction(MainWindow)
        self.actionStep.setObjectName(_fromUtf8("actionStep"))
        
        self.actionCustom_Test_Suite = QtGui.QAction(MainWindow)
        self.actionCustom_Test_Suite.setObjectName(_fromUtf8("actionCustom_Test_Suite"))
        
        self.actionBatch = QtGui.QAction(MainWindow)
        self.actionBatch.setObjectName(_fromUtf8("actionBatch"))
        
        self.actionSystem_Information = QtGui.QAction(MainWindow)
        self.actionSystem_Information.setObjectName(_fromUtf8("actionSystem_Information"))
        
        self.actionPreinstall_Log_Check = QtGui.QAction(MainWindow)
        self.actionPreinstall_Log_Check.setObjectName(_fromUtf8("actionPreinstall_Log_Check"))
        
        self.actionPackage_Last_Result = QtGui.QAction(MainWindow)
        self.actionPackage_Last_Result.setObjectName(_fromUtf8("actionPackage_Last_Result"))
        
        self.actionOptions = QtGui.QAction(MainWindow)
        self.actionOptions.setObjectName(_fromUtf8("actionOptions"))
        
        self.actionAbout_Novatel_Test_Suite = QtGui.QAction(MainWindow)
        self.actionAbout_Novatel_Test_Suite.setObjectName(_fromUtf8("actionAbout_Novatel_Test_Suite"))
        
        self.menuFile.addAction(self.actionNew)
        
        self.menuFile.addAction(self.actionOpen)
        
        self.menuFile.addAction(self.actionSave)
        
        self.menuFile.addAction(self.actionSave_As)
        
        self.menuFile.addSeparator()
        
        self.menuFile.addAction(self.actionPrint)
        
        self.menuFile.addAction(self.actionPrint_Preview)
        
        self.menuFile.addAction(self.actionPrint_Setup)
        
        self.menuFile.addSeparator()
        
        self.menuFile.addAction(self.actionExit)
        
        self.menuEdit.addAction(self.actionCut)
        
        self.menuEdit.addAction(self.actionCopy)
        
        self.menuEdit.addAction(self.actionPaste)
        
        self.menuEdit.addSeparator()
        
        self.menuEdit.addAction(self.actionRename)
        
        self.menuView.addAction(self.actionToolbar)
        
        self.menuView.addAction(self.actionStatus_Bar)
        
        self.menuView.addSeparator()
        
        self.menuView.addAction(self.actionTest_Manager_Bar)
        
        self.menuView.addAction(self.actionOptions_Bar)
        
        self.menuView.addAction(self.actionGlobal_Information_Bar)
        
        self.menuView.addSeparator()
        
        self.menuView.addAction(self.actionTest_Plan_Info)
        
        self.menuTest_Manager.addAction(self.actionRun)
        
        self.menuTest_Manager.addAction(self.actionStop)
        
        self.menuTest_Manager.addAction(self.actionPause)
        
        self.menuTest_Manager.addAction(self.actionStep)
        
        self.menuTest_Manager.addSeparator()
        
        self.menuTest_Manager.addAction(self.actionCustom_Test_Suite)
        
        self.menuTest_Manager.addAction(self.actionBatch)
        
        self.menuTools.addAction(self.actionSystem_Information)
        
        self.menuTools.addAction(self.actionPreinstall_Log_Check)
        
        self.menuTools.addSeparator()
        
        self.menuTools.addAction(self.actionPackage_Last_Result)
        
        self.menuTools.addAction(self.actionOptions)
        
        self.menuHelp.addAction(self.actionAbout_Novatel_Test_Suite)
        
        self.menuMainBar.addAction(self.menuFile.menuAction())
        
        self.menuMainBar.addAction(self.menuEdit.menuAction())
        
        self.menuMainBar.addAction(self.menuView.menuAction())
        
        self.menuMainBar.addAction(self.menuTest_Manager.menuAction())
        
        self.menuMainBar.addAction(self.menuTools.menuAction())
        
        self.menuMainBar.addAction(self.menuHelp.menuAction())

        ## call local function
        self.retranslateUi(MainWindow)
        
        self.tabMainAutomated.setCurrentIndex(0)
        
        self.tabMainProperties.setCurrentIndex(1)
        
        self.tabMainRuntime.setCurrentIndex(0)
        
        ## !!!attension please, it's the actions and slots map relationship
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "Novatel Test Suite", None, QtGui.QApplication.UnicodeUTF8))
        
        self.tabMainAutomated.setTabText(self.tabMainAutomated.indexOf(self.tabAutomated), QtGui.QApplication.translate("MainWindow", "Automated", None, QtGui.QApplication.UnicodeUTF8))
        self.tabMainAutomated.setTabText(self.tabMainAutomated.indexOf(self.tabInteractive), QtGui.QApplication.translate("MainWindow", "Interactive", None, QtGui.QApplication.UnicodeUTF8))
        
        ## construct properties header
        self.tblProperties.verticalHeaderItem(0).setText(QtGui.QApplication.translate("MainWindow", "Item 0", None, QtGui.QApplication.UnicodeUTF8))
        self.tblProperties.verticalHeaderItem(1).setText(QtGui.QApplication.translate("MainWindow", "Item 1", None, QtGui.QApplication.UnicodeUTF8))
        self.tblProperties.verticalHeaderItem(2).setText(QtGui.QApplication.translate("MainWindow", "Item 2", None, QtGui.QApplication.UnicodeUTF8))
        self.tblProperties.verticalHeaderItem(3).setText(QtGui.QApplication.translate("MainWindow", "Item 3", None, QtGui.QApplication.UnicodeUTF8))
        self.tblProperties.verticalHeaderItem(4).setText(QtGui.QApplication.translate("MainWindow", "Item 4", None, QtGui.QApplication.UnicodeUTF8))
        self.tblProperties.horizontalHeaderItem(0).setText(QtGui.QApplication.translate("MainWindow", "Value", None, QtGui.QApplication.UnicodeUTF8))
        self.tabMainProperties.setTabText(self.tabMainProperties.indexOf(self.tabProperties), QtGui.QApplication.translate("MainWindow", "Properties", None, QtGui.QApplication.UnicodeUTF8))
        
        ## construct global options header
        self.tblGlobalOptions.verticalHeaderItem(0).setText(QtGui.QApplication.translate("MainWindow", "Automated", None, QtGui.QApplication.UnicodeUTF8))
        self.tblGlobalOptions.verticalHeaderItem(1).setText(QtGui.QApplication.translate("MainWindow", "Iterations", None, QtGui.QApplication.UnicodeUTF8))
        self.tblGlobalOptions.verticalHeaderItem(2).setText(QtGui.QApplication.translate("MainWindow", "CPU Affinity", None, QtGui.QApplication.UnicodeUTF8))
        self.tblGlobalOptions.verticalHeaderItem(3).setText(QtGui.QApplication.translate("MainWindow", "Stressers", None, QtGui.QApplication.UnicodeUTF8))
        self.tblGlobalOptions.verticalHeaderItem(4).setText(QtGui.QApplication.translate("MainWindow", "Restart", None, QtGui.QApplication.UnicodeUTF8))
        self.tblGlobalOptions.verticalHeaderItem(5).setText(QtGui.QApplication.translate("MainWindow", "Standby", None, QtGui.QApplication.UnicodeUTF8))
        self.tblGlobalOptions.verticalHeaderItem(6).setText(QtGui.QApplication.translate("MainWindow", "Hibernation", None, QtGui.QApplication.UnicodeUTF8))
        self.tblGlobalOptions.verticalHeaderItem(7).setText(QtGui.QApplication.translate("MainWindow", "Monitor Blanking", None, QtGui.QApplication.UnicodeUTF8))
        self.tblGlobalOptions.verticalHeaderItem(8).setText(QtGui.QApplication.translate("MainWindow", "Sus/Res Time Cal", None, QtGui.QApplication.UnicodeUTF8))
        self.tblGlobalOptions.verticalHeaderItem(9).setText(QtGui.QApplication.translate("MainWindow", "Wait After Suspend", None, QtGui.QApplication.UnicodeUTF8))
        self.tblGlobalOptions.verticalHeaderItem(10).setText(QtGui.QApplication.translate("MainWindow", "Wait After Restart", None, QtGui.QApplication.UnicodeUTF8))
        self.tblGlobalOptions.verticalHeaderItem(11).setText(QtGui.QApplication.translate("MainWindow", "Halt On Error", None, QtGui.QApplication.UnicodeUTF8))
        self.tblGlobalOptions.verticalHeaderItem(12).setText(QtGui.QApplication.translate("MainWindow", "On Error", None, QtGui.QApplication.UnicodeUTF8))
        self.tblGlobalOptions.verticalHeaderItem(13).setText(QtGui.QApplication.translate("MainWindow", "Login Username", None, QtGui.QApplication.UnicodeUTF8))
        self.tblGlobalOptions.verticalHeaderItem(14).setText(QtGui.QApplication.translate("MainWindow", "Login Passowrd", None, QtGui.QApplication.UnicodeUTF8))
        self.tblGlobalOptions.verticalHeaderItem(15).setText(QtGui.QApplication.translate("MainWindow", "Login Domain", None, QtGui.QApplication.UnicodeUTF8))
        self.tblGlobalOptions.verticalHeaderItem(16).setText(QtGui.QApplication.translate("MainWindow", "Log", None, QtGui.QApplication.UnicodeUTF8))
        self.tblGlobalOptions.verticalHeaderItem(17).setText(QtGui.QApplication.translate("MainWindow", "Summary Log", None, QtGui.QApplication.UnicodeUTF8))
        self.tblGlobalOptions.verticalHeaderItem(18).setText(QtGui.QApplication.translate("MainWindow", "Package Logs", None, QtGui.QApplication.UnicodeUTF8))
        self.tblGlobalOptions.verticalHeaderItem(19).setText(QtGui.QApplication.translate("MainWindow", "On Load Message", None, QtGui.QApplication.UnicodeUTF8))
        self.tblGlobalOptions.horizontalHeaderItem(0).setText(QtGui.QApplication.translate("MainWindow", "Value", None, QtGui.QApplication.UnicodeUTF8))
        self.tabMainProperties.setTabText(self.tabMainProperties.indexOf(self.tabGlobalOptions), QtGui.QApplication.translate("MainWindow", "Global Options", None, QtGui.QApplication.UnicodeUTF8))
        
        self.tblRuntime.horizontalHeaderItem(0).setText(QtGui.QApplication.translate("MainWindow", "Test Suites", None, QtGui.QApplication.UnicodeUTF8))
        self.tblRuntime.horizontalHeaderItem(1).setText(QtGui.QApplication.translate("MainWindow", "Iterations", None, QtGui.QApplication.UnicodeUTF8))
        self.tblRuntime.horizontalHeaderItem(2).setText(QtGui.QApplication.translate("MainWindow", "Errors", None, QtGui.QApplication.UnicodeUTF8))
        self.tblRuntime.horizontalHeaderItem(3).setText(QtGui.QApplication.translate("MainWindow", "Warnings", None, QtGui.QApplication.UnicodeUTF8))
        self.tblRuntime.horizontalHeaderItem(4).setText(QtGui.QApplication.translate("MainWindow", "Status", None, QtGui.QApplication.UnicodeUTF8))
        self.tabMainRuntime.setTabText(self.tabMainRuntime.indexOf(self.tabRuntime), QtGui.QApplication.translate("MainWindow", "Runtime Information", None, QtGui.QApplication.UnicodeUTF8))
        self.tabMainRuntime.setTabText(self.tabMainRuntime.indexOf(self.tabPCIDevices), QtGui.QApplication.translate("MainWindow", "PCI Devices", None, QtGui.QApplication.UnicodeUTF8))
        self.tabMainRuntime.setTabText(self.tabMainRuntime.indexOf(self.tabServer), QtGui.QApplication.translate("MainWindow", "Server", None, QtGui.QApplication.UnicodeUTF8))

        self.menuFile.setTitle(QtGui.QApplication.translate("MainWindow", "File", None, QtGui.QApplication.UnicodeUTF8))
        
        self.menuEdit.setTitle(QtGui.QApplication.translate("MainWindow", "Edit", None, QtGui.QApplication.UnicodeUTF8))
        
        self.menuView.setTitle(QtGui.QApplication.translate("MainWindow", "View", None, QtGui.QApplication.UnicodeUTF8))
        
        self.menuTest_Manager.setTitle(QtGui.QApplication.translate("MainWindow", "Test Manager", None, QtGui.QApplication.UnicodeUTF8))
        
        self.menuTools.setTitle(QtGui.QApplication.translate("MainWindow", "Tools", None, QtGui.QApplication.UnicodeUTF8))
        
        self.menuHelp.setTitle(QtGui.QApplication.translate("MainWindow", "Help", None, QtGui.QApplication.UnicodeUTF8))
        
        self.toolMainBar.setWindowTitle(QtGui.QApplication.translate("MainWindow", "toolBar", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionNew.setText(QtGui.QApplication.translate("MainWindow", "New", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionOpen.setText(QtGui.QApplication.translate("MainWindow", "Open...", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionSave.setText(QtGui.QApplication.translate("MainWindow", "Save", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionSave_As.setText(QtGui.QApplication.translate("MainWindow", "Save As...", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionPrint.setText(QtGui.QApplication.translate("MainWindow", "Print...", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionPrint_Preview.setText(QtGui.QApplication.translate("MainWindow", "Print Preview", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionPrint_Setup.setText(QtGui.QApplication.translate("MainWindow", "Print Setup...", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionExit.setText(QtGui.QApplication.translate("MainWindow", "&Exit", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionCut.setText(QtGui.QApplication.translate("MainWindow", "Cut", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionCopy.setText(QtGui.QApplication.translate("MainWindow", "Copy", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionPaste.setText(QtGui.QApplication.translate("MainWindow", "Paste", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionRename.setText(QtGui.QApplication.translate("MainWindow", "Rename", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionToolbar.setText(QtGui.QApplication.translate("MainWindow", "Toolbar", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionStatus_Bar.setText(QtGui.QApplication.translate("MainWindow", "Status Bar", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionTest_Manager_Bar.setText(QtGui.QApplication.translate("MainWindow", "Test Manager Bar", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionOptions_Bar.setText(QtGui.QApplication.translate("MainWindow", "Options Bar", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionGlobal_Information_Bar.setText(QtGui.QApplication.translate("MainWindow", "Global Information Bar", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionTest_Plan_Info.setText(QtGui.QApplication.translate("MainWindow", "Test Plan Info", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionRun.setText(QtGui.QApplication.translate("MainWindow", "Run", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionStop.setText(QtGui.QApplication.translate("MainWindow", "Stop", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionPause.setText(QtGui.QApplication.translate("MainWindow", "Pause", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionStep.setText(QtGui.QApplication.translate("MainWindow", "Step", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionCustom_Test_Suite.setText(QtGui.QApplication.translate("MainWindow", "Custom Test Suite", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionBatch.setText(QtGui.QApplication.translate("MainWindow", "Batch...", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionSystem_Information.setText(QtGui.QApplication.translate("MainWindow", "System Information...", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionPreinstall_Log_Check.setText(QtGui.QApplication.translate("MainWindow", "Preinstall Log Check...", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionPackage_Last_Result.setText(QtGui.QApplication.translate("MainWindow", "Package Last Result...", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionOptions.setText(QtGui.QApplication.translate("MainWindow", "Options...", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionAbout_Novatel_Test_Suite.setText(QtGui.QApplication.translate("MainWindow", "&About Novatel Test Suite", None, QtGui.QApplication.UnicodeUTF8)) 
        
    def resizeEvent(self,  ev):   
        curRect = self.contentsRect()
        curRect.setWidth(curRect.width() - 10) ## substract statusMainBar height
        curRect.setHeight(curRect.height() - 50) ## substract statusMainBar height
        self.mainSplitter.setGeometry(curRect)
            
    
if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    MainWindow = QtGui.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())


